import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import router from './router'
import store from "@/store";
import 'font-awesome/css/font-awesome.css'

import {postRequest} from "@/utils/api";
import {putRequest} from "@/utils/api";
import {getRequest} from "@/utils/api";
import {deleteRequest} from "@/utils/api";
import {downloadRequest} from "@/utils/downloadFile";

Vue.config.productionTip = false

Vue.use(ElementUI,{size:'small'});

Vue.prototype.postRequest = postRequest;
Vue.prototype.putRequest = putRequest;
Vue.prototype.getRequest = getRequest;
Vue.prototype.deleteRequest = deleteRequest;
Vue.prototype.downloadRequest = downloadRequest;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
